<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<%@ page import="teacher.bean.Teacher"  %>
<!DOCTYPE html>
<html>
   <head>
    	<title>学科管理系统</title>   
		<s:include value="../common/source.jsp"></s:include>	
  </head>
  <% Teacher t=new Teacher(); %>
  <% t=(Teacher)session.getAttribute("teacher"); %>
  <body>
<div class="main">
 <!-- 头部开始 -->
	<div class="sui-navbar main-header">
		<div class="navbar-inner"><img style="padding-top:5px;float:left ;z-index:-1;"src="img/icon.png"/> <a href="templates/teacher/teamain.jsp" class=" frame-menu sui-brand">信息工程学院学科信息管理</a>
			 <div style="width:370px;height:72px;margin-right:1px;index:-1;float:right;background:url(img/login_pic1.png) no-repeat right top;">
			<ul class="sui-nav pull-right">
					<li role="presentation"><a role="menuitem" tabindex="-1" href="admin/ExitAdminAction.action">注销登录</a></li> 
					</ul>
					<div class="denglu1"><a class="frame-menu" href="teacher/TeacherSearchNoteAction.action"> <span id="note">留言<b style="font-size:8pt; vertical-align:super; color:red"><s:if test="#session['receiveCount']!=0"><font color="red" id="noteCount"><%=session.getAttribute("receiveCount") %></font></s:if></b></span></a>	</div>
					<div class="denglu">欢迎<span class="MyFont"><%=t.getName() %>老师</span>登录！</div>
			</div>		
		</div>
	</div>
	<!-- 头部结束 -->
	
	<div class="sui-layout ui-sortable main-container">
		<!-- 左侧栏开始 -->
		<div class="ui-sortable sidebar ">
			<ul class="sui-nav nav-list sui" id="num">
				
				<li class="nav-header"><i class="sui-icon icon-edit"></i>基本信息</li>
				<li >
					<a class="frame-menu" href="teacher/home.action" onclick="high(0)">教师基本信息</a>
				</li>
				<li >
					<a class="frame-menu" href="teacher/modifyPas.action" onclick="high(1)">密码修改</a>
				</li>
				<li class="nav-header"><i class="sui-icon icon-tasks"></i>成果上传</li>
				<li >
					<a class="frame-menu" href="teacher/utre.action" onclick="high(2)">论著上传</a>
				</li>
				<li >
					<a class="frame-menu" href="teacher/upap.action" onclick="high(3)">论文上传</a>
				</li>
				<li >
					<a class="frame-menu" href="teacher/upat.action" onclick="high(4)">专利上传</a>
				</li>
				<li >
					<a class="frame-menu" href="teacher/upro.action" onclick="high(5)">项目上传</a>
				</li>
				<li >
					<a class="frame-menu" href="teacher/uawa.action" onclick="high(6)">获奖上传</a>
				</li>
				 <li class="nav-header"><i class="sui-icon icon-pencil"></i>学生管理</li>
				<li>
				    <a class="frame-menu" href="teacher/addStu1.action" onclick="high(7)">学生添加</a>
				</li>
				<li>
				    <a class="frame-menu" href="teacher/listStu.action" onclick="high(8)">学生管理</a>
				</li> 

				<li class="nav-header"><i class="sui-icon icon-th-list"></i>成果管理</li>
				<li >
					<a class="frame-menu" href="teacher/listTre.action" onclick="high(9)">论著列表</a>
				</li>
				<li >
					<a class="frame-menu" href="teacher/listPap.action" onclick="high(10)">论文列表</a>
				</li>
				<li >
					<a class="frame-menu" href="teacher/listPat.action" onclick="high(11)">专利列表</a>
				</li>
				<li >
					<a class="frame-menu" href="teacher/listPro.action" onclick="high(12)">项目列表</a>
				</li>
				<li >
					<a class="frame-menu" href="teacher/listAwa.action" onclick="high(13)">获奖列表</a>
				</li>
					
				<li class="nav-header"><i class="sui-icon icon-bar-chart"></i>数据统计</li>
				<li>
					<a class="frame-menu" href="teacher/countTea.action" onclick="high(14)">成果统计</a>
				</li>
				<li>
			</ul>
		</div>
		<!-- 左侧栏结束 -->
		<!-- 主体开始 -->
		<div class="content ui-sortable">
			  <iframe id="f" src="templates/teacher/teamain.jsp" class="frame"></iframe>
		</div>
		 <div class="footer" >2015 @Copyright 浙江工业大学信息工程学院</div>  
		<!-- 主体结束 -->
		</div>
	</div>         
  </body>
     <script>	   
   
   	var myNav = document.getElementById("num").getElementsByTagName("a");   
	function high(i)
	{	
		for(var j=0;j<15;j++)
		{
		myNav[j].className="frame-menu";
		}
		myNav[i].className="high";
	} 

</script>
</html>
